<template>
  <view class="mt-40 flex items-center justify-center">
    <u-icon name="checkmark-circle-fill" size="80" color="#961E1E" />
  </view>
  <view>
    <text class="mt-4 block text-center text-xl">
      提交成功
    </text>
  </view>
  <view class="px-8">
    <up-button
      type="primary"
      class="mt-8"
      shape="circle"
      @click="goHome"
    >
      返回
    </up-button>
  </view>
</template>

<script lang="ts" setup>
//
const goHome = () => {
  uni.switchTab({
    url: '/pages/tab/home/index',
  });
};
</script>

 <style lang="scss" scoped>
 //
 page{
  background-color: #fff;
 }
 </style>
